﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	public partial class PaymentLogEntity
	{
		private readonly string[] arrStatusText = new string[] { "", "未提交", "已提交", "已成功", "已失败" };

		/// <summary>
		/// 支付状态说明
		/// </summary>
		[NotMapped]
		public string StatusText
		{
			get
			{
				return arrStatusText[Status.GetValueOrDefault()];
			}
		}
	}
}
